package interview;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * @Author: Jun
 * @Date: 2018/8/29 19:11
 */
public class sortnumber {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String next = scanner.nextLine();
        String[] s = next.split(" ");

        int num1= Integer.parseInt(s[0]);
        int num2= Integer.parseInt(s[1]);
        int num3= Integer.parseInt(s[2]);
        List<Integer> l= new ArrayList<>();
        int[] a={num1,num2,num3};
        int num4=0;
        for (int i = 0; i <a.length-1; i++) {
            for (int j = i+1; j < a.length; j++) {
                if(a[i]>a[j]){
                    num4=a[i];
                    a[i]=a[j];
                    a[j]=num4;
                }
            }
        }
        for (int i : a) {
            System.out.println(i);
        }
    }
}
